//
//  AppDelegate.m
//  WHYWeibo-OC
//
//  Created by 王洪运 on 15/11/22.
//  Copyright © 2015年 王洪运. All rights reserved.
//

#import "AppDelegate.h"
#import "WHYMainViewController.h"
#import "WHYCommon.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    [self setupApperance];
    
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    self.window.backgroundColor = [UIColor whiteColor];
    self.window.rootViewController = [[WHYMainViewController alloc] init];
    [self.window makeKeyAndVisible];
    return YES;
}

-(void)setupApperance {
    [UINavigationBar appearance].tintColor = [WHYCommon setColorWithWBApperanceTintColor];
    [UITabBar appearance].tintColor = [WHYCommon setColorWithWBApperanceTintColor];
}


@end
